class ApplyResetAccount < ActiveRecord::Base

  def before_save
    require 'uuidtools'
    self.onetime_code = UUID.random_create.to_s
  end
end
